<template>
  <div>
    <div>
      <el-image
        style="width: 60px; height: 60px; cursor: pointer"
        :src="url"
        fit="cover"
        @click="onWebHome"
      />
    </div>
  </div>
</template>

<script>
import { logoUrl } from '@/api/common'
export default {
  name: 'LoginLogo',
  data() {
    return {
      url: ''
    }
  },
  created() {
    this.url = logoUrl
  },
  methods: {
    onWebHome() {
      window.open(process.env.VUE_APP_WEB_URL)
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
